package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.ReservationDTO;
import com.zzyl.vo.ReservationCountVo;
import com.zzyl.vo.ReservationVO;

import java.time.LocalDateTime;
import java.util.List;

public interface CustomerReservationService {
    Integer getCancelledReservationCount(Long userId);

    void add(ReservationDTO Reservationdto);

    PageResponse<ReservationVO> page(Integer pageNum, Integer pageSize, Integer status);

    void cancel(Long id);

    List<ReservationCountVo> countReservationsTimeRange(LocalDateTime of);

    void expireOutdatedReservations();
}
